package com.hk.model;

import java.math.BigDecimal;

/**
 * @Author: KangWang
 * Date: 2021/5/18 17:01
 * State：产品展示
 */
public class Display {

    private int productId;
    private String productImg;//产品图片（路径）
    private String productName;//产品名称
    private String productDtl;//产品详情
    private BigDecimal marketPrice;//产品市场价
    private BigDecimal platformPrice;//产品平台价
    private int tMenuId;//产品所属二级菜单
    //    不与数据库对应
    private ProductMenu productMenu;//所属二级菜单
    private int menuId;//产品所属一级菜单
    //    不与数据库对应
    private ProductMenu productMenu1;//所属一级菜单

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDtl() {
        return productDtl;
    }

    public void setProductDtl(String productDtl) {
        this.productDtl = productDtl;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getPlatformPrice() {
        return platformPrice;
    }

    public void setPlatformPrice(BigDecimal platformPrice) {
        this.platformPrice = platformPrice;
    }

    public int gettMenuId() {
        return tMenuId;
    }

    public void settMenuId(int tMenuId) {
        this.tMenuId = tMenuId;
    }

    public int getMenuId() {
        return menuId;
    }

    public void setMenuId(int menuId) {
        this.menuId = menuId;
    }

    public ProductMenu getProductMenu() {
        return productMenu;
    }

    public void setProductMenu(ProductMenu productMenu) {
        this.productMenu = productMenu;
    }

    public ProductMenu getProductMenu1() {
        return productMenu1;
    }

    public void setProductMenu1(ProductMenu productMenu1) {
        this.productMenu1 = productMenu1;
    }

    public Display(int productId, String productImg, String productName, String productDtl, BigDecimal marketPrice, BigDecimal platformPrice, int tMenuId, int menuId) {
        this.productId = productId;
        this.productImg = productImg;
        this.productName = productName;
        this.productDtl = productDtl;
        this.marketPrice = marketPrice;
        this.platformPrice = platformPrice;
        this.tMenuId = tMenuId;
        this.menuId = menuId;
    }

    public Display() {

    }

    @Override
    public String toString() {
        return "Display{" +
                "productId=" + productId +
                ", productImg='" + productImg + '\'' +
                ", productName='" + productName + '\'' +
                ", productDtl='" + productDtl + '\'' +
                ", marketPrice=" + marketPrice +
                ", platformPrice=" + platformPrice +
                ", tMenuId=" + tMenuId +
                ", productMenu=" + productMenu +
                ", menuId=" + menuId +
                ", productMenu1=" + productMenu1 +
                '}';
    }
}
